9.8
CRITICAL CVSS 3.1
CVE-2026-32767
SiYuan: Authorization Bypass Allows Arbitrary SQL Execution via Search API
Description

SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.1.

INFO

Published Date :

March 20, 2026, 1:15 a.m.

Last Modified :

March 20, 2026, 3:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-32767 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 B3log siyuan
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update SiYuan to version 3.6.1 or later to fix the authorization bypass vulnerability.
  • Update SiYuan to version 3.6.1.
  • Apply security patches for SiYuan.
Public PoC/Exploit Available at Github

CVE-2026-32767 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-32767 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 7 hours, 52 minutes ago
0 stars 0 fork 0 watcher
Born at : March 17, 2026, 8:01 p.m. This repo has been linked 2 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 12 hours, 38 minutes ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 9:26 p.m. This repo has been linked 5 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 12 hours, 38 minutes ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 8:33 p.m. This repo has been linked 5 different CVEs too.

None

Dockerfile Python CSS JavaScript HTML Shell

Updated: 12 hours, 38 minutes ago
1 stars 0 fork 0 watcher
Born at : July 19, 2025, 7:23 p.m. This repo has been linked 5 different CVEs too.

A powerful Discord bot and web interface to manage Docker containers remotely. This application bridges the gap between Discord and your Docker environment, allowing container monitoring and control directly through Discord channels.

Dockerfile Python HTML Shell JavaScript CSS

Updated: 13 hours, 1 minute ago
9 stars 0 fork 0 watcher
Born at : May 21, 2025, 7:10 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-32767 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-32767 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 20, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
  • New CVE Received by [email protected]

    Mar. 20, 2026

    Action Type Old Value New Value
    Added Description SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass vulnerability in the /api/search/fullTextSearchBlock endpoint. When the method parameter is set to 2, the endpoint passes user-supplied input directly as a raw SQL statement to the underlying SQLite database without any authorization or read-only checks. This allows any authenticated user — including those with the Reader role — to execute arbitrary SQL statements (SELECT, DELETE, UPDATE, DROP TABLE, etc.) against the application's database. This is inconsistent with the application's own security model: the dedicated SQL endpoint (/api/query/sql) correctly requires both CheckAdminRole and CheckReadonly middleware, but the search endpoint bypasses these controls entirely. This issue has been fixed in version 3.6.1.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
    Added CWE CWE-863
    Added Reference https://github.com/siyuan-note/siyuan/commit/d5e2d0bce0dffef5f61bd8066954bc2d41181fc5
    Added Reference https://github.com/siyuan-note/siyuan/issues/17209
    Added Reference https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1
    Added Reference https://github.com/siyuan-note/siyuan/security/advisories/GHSA-j7wh-x834-p3r7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.